package com.hook3.pianke.domain;

import java.util.ArrayList;

/**
 * 电台数据
 * Created by HOME on 2015/12/9.
 */
public class RadioInfo extends BaseBean {
    public RadioData data;
    public int result;

    @Override
    public String toString() {
        return "RadioInfo{" +
                "data=" + data +
                ", result=" + result +
                '}';
    }

    public class RadioData {
        //所有电台的列表
        public ArrayList<RadioAllList> alllist;
        //viewPager轮播的数据
        public ArrayList<RadioCauousel> carousel;
        //gradView展现的最新电台数据
        public ArrayList<RadioHotlist> hotlist;

        @Override
        public String toString() {
            return "RadioData{" +
                    "alllist=" + alllist +
                    ", carousel=" + carousel +
                    ", hotlist=" + hotlist +
                    '}';
        }
    }

    /**
     * 所有电台的列表
     */
    public class RadioAllList {
        public String count;
        public String coverimg;
        public String desc;
        public boolean isnew;
        public String radioid;
        public String title;
        public UserInfo userinfo;

        @Override
        public String toString() {
            return "RadioAllList{" +
                    "title='" + title + '\'' +
                    '}';
        }
    }

    /**
     * 台长信息
     */
    public class UserInfo{
        public String icon;
        public String uid;
        public String uname;

        @Override
        public String toString() {
            return "UserInfo{" +
                    "icon='" + icon + '\'' +
                    '}';
        }
    }

    /**
     * viewPager轮播的数据
     */
    public class RadioCauousel{
        public String img;
        public String url;

        @Override
        public String toString() {
            return "RadioCauousel{" +
                    "img='" + img + '\'' +
                    '}';
        }
    }

    /**
     * gradView展现的最新电台数据
     */
    public class RadioHotlist{
        public String count;
        public String coverimg;
        public String desc;
        public boolean isnew;
        public String radioid;
        public String title;
        public UserInfo userinfo;

        @Override
        public String toString() {
            return "RadioHotlist{" +
                    "desc='" + desc + '\'' +
                    ", count='" + count + '\'' +
                    '}';
        }
    }


}


